package com.example.safeassistan.train.model;

import java.io.Serializable;
import java.util.List;

public class TrainTestListModel  implements Serializable {


    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : {"records":[{"myAnswerNum":null,"paperInfo":"试卷2说明","paperName":"试卷1","answerNum":2,"knowNum":4,"useTime":60,"id":"111","totalScore":100,"paperId":"1380699649794183169","status":0}],"total":1,"size":10,"current":1,"orders":[],"optimizeCountSql":true,"hitCount":false,"countId":null,"maxLimit":null,"searchCount":true,"pages":1}
     * timestamp : 1618361128046
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO  implements Serializable{
        /**
         * records : [{"myAnswerNum":null,"paperInfo":"试卷2说明","paperName":"试卷1","answerNum":2,"knowNum":4,"useTime":60,"id":"111","totalScore":100,"paperId":"1380699649794183169","status":0}]
         * total : 1
         * size : 10
         * current : 1
         * orders : []
         * optimizeCountSql : true
         * hitCount : false
         * countId : null
         * maxLimit : null
         * searchCount : true
         * pages : 1
         */

        private Integer total;
        private Integer size;
        private Integer current;
        private Boolean optimizeCountSql;
        private Boolean hitCount;
        private Object countId;
        private Object maxLimit;
        private Boolean searchCount;
        private Integer pages;
        private List<RecordsDTO> records;
        private List<?> orders;

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public Integer getCurrent() {
            return current;
        }

        public void setCurrent(Integer current) {
            this.current = current;
        }

        public Boolean isOptimizeCountSql() {
            return optimizeCountSql;
        }

        public void setOptimizeCountSql(Boolean optimizeCountSql) {
            this.optimizeCountSql = optimizeCountSql;
        }

        public Boolean isHitCount() {
            return hitCount;
        }

        public void setHitCount(Boolean hitCount) {
            this.hitCount = hitCount;
        }

        public Object getCountId() {
            return countId;
        }

        public void setCountId(Object countId) {
            this.countId = countId;
        }

        public Object getMaxLimit() {
            return maxLimit;
        }

        public void setMaxLimit(Object maxLimit) {
            this.maxLimit = maxLimit;
        }

        public Boolean isSearchCount() {
            return searchCount;
        }

        public void setSearchCount(Boolean searchCount) {
            this.searchCount = searchCount;
        }

        public Integer getPages() {
            return pages;
        }

        public void setPages(Integer pages) {
            this.pages = pages;
        }

        public List<RecordsDTO> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsDTO> records) {
            this.records = records;
        }

        public List<?> getOrders() {
            return orders;
        }

        public void setOrders(List<?> orders) {
            this.orders = orders;
        }

        public static class RecordsDTO implements Serializable {
            /**
             * myAnswerNum : null
             * paperInfo : 试卷2说明
             * paperName : 试卷1
             * answerNum : 2
             * knowNum : 4
             * useTime : 60
             * id : 111
             * totalScore : 100
             * paperId : 1380699649794183169
             * status : 0
             */

            private Object myAnswerNum;
            private String paperInfo;
            private String paperName;
            private Integer answerNum;
            private Integer knowNum;
            private Integer useTime;
            private String id;
            private Integer totalScore;
            private String paperId;
            private Integer status;

            public Object getMyAnswerNum() {
                return myAnswerNum;
            }

            public void setMyAnswerNum(Object myAnswerNum) {
                this.myAnswerNum = myAnswerNum;
            }

            public String getPaperInfo() {
                return paperInfo;
            }

            public void setPaperInfo(String paperInfo) {
                this.paperInfo = paperInfo;
            }

            public String getPaperName() {
                return paperName;
            }

            public void setPaperName(String paperName) {
                this.paperName = paperName;
            }

            public Integer getAnswerNum() {
                return answerNum;
            }

            public void setAnswerNum(Integer answerNum) {
                this.answerNum = answerNum;
            }

            public Integer getKnowNum() {
                return knowNum;
            }

            public void setKnowNum(Integer knowNum) {
                this.knowNum = knowNum;
            }

            public Integer getUseTime() {
                return useTime;
            }

            public void setUseTime(Integer useTime) {
                this.useTime = useTime;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public Integer getTotalScore() {
                return totalScore;
            }

            public void setTotalScore(Integer totalScore) {
                this.totalScore = totalScore;
            }

            public String getPaperId() {
                return paperId;
            }

            public void setPaperId(String paperId) {
                this.paperId = paperId;
            }

            public Integer getStatus() {
                return status;
            }

            public void setStatus(Integer status) {
                this.status = status;
            }
        }
    }
}
